package com.erp.erp_project.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author the bright star
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("product")
public class Product {
    @TableId(type = IdType.AUTO)
    private Integer productId;
    private String productName;
    private String productType;
    private String image;
    private String note;
    private Integer status;

    public Product(String productName, String productType, String image, String note, Integer status) {
        this.productName = productName;
        this.productType = productType;
        this.image = image;
        this.note = note;
        this.status = status;
    }
}
